package com.atguigu.common.exception;

/**
 * 数据校验集合
 *
 * @author wu on 2020/11/25 0025
 */
public enum BizCodeEnume {
    UNKNOW_EXCEPTION(10000, "未知系统异常"),
    VAILD_EXCEPTOIN(10001, "参数校验格式错误");
    private Integer code;
    private String msg;

    BizCodeEnume(int code, String message) {
        this.code = code;
        this.msg = message;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
